MakeRegExpression

Note: This statement is named Make Regular Expression in the Add Statement dialog box.

Returns a regular expression built from a string. This statement is useful for converting string values with special characters that are stored in variables. Special characters are escaped for literal interpretation in the returned regular expression.

Syntax

MakeRegExpression("RegularExpressionString")

Arguments

Argument Description
RegularExpressionString String to build the regular expression from.

Return value

Value Description
Value Regular expression built from the string.

Example

regExString = MakeRegExpression("$25.00")